/*
 * SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the License); you may
 * not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "../test_arm_avgpool_s16.c"
#include "unity.h"

#ifdef USING_FVP_CORSTONE_300
extern void uart_init(void);
#endif

/* This function is called from the autogenerated file.
 * The name must be exactly like this
 */
__attribute__((weak)) __attribute__((weak)) void setUp(void)
{ /* This is run before EACH TEST */
#ifdef USING_FVP_CORSTONE_300
    uart_init();
#endif
}

/* This function is called from the autogenerated file.
 * The name must be exactly like this
 */
__attribute__((weak)) __attribute__((weak)) void tearDown(void) {}

void test_avgpooling_int16_arm_avgpool_s16(void) { avgpooling_int16_arm_avgpool_s16(); }

void test_avgpooling_1_int16_arm_avgpool_s16(void) { avgpooling_int16_1_arm_avgpool_s16(); }
void test_avgpooling_2_int16_arm_avgpool_s16(void) { avgpooling_int16_2_arm_avgpool_s16(); }
void test_avgpooling_3_int16_arm_avgpool_s16(void) { avgpooling_int16_3_arm_avgpool_s16(); }

void test_buffer_size_mve_arm_avgpool_s16(void) { buffer_size_mve_arm_avgpool_s16(); }
void test_buffer_size_dsp_arm_avgpool_s16(void) { buffer_size_dsp_arm_avgpool_s16(); }

void test_avgpooling_param_fail_int16_arm_avgpool_s16(void) { avgpooling_int16_param_fail_arm_avgpool_s16(); }
